-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add message protobuf #497
base: master
Are you sure you want to change the base?
Add message protobuf #497
Conversation
meshtastic/message.proto
Outdated
/* | ||
* The sending node's short name. | ||
*/ | ||
string sender_short_name = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the nodenum instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field is used for displaying a device's name on the screen. I don't think it'd be user-friendly to show the device number on the screen rather than the short name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was looking at it from a database point of view, and the short name is not a good way to provide a unique key. Maybe i don'tr fully get how the link to the user entries is made, especially if it is a DM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No link to the user entry is made given that that's not needed to display the name.
What does this PR do?
Creates needed protobuf changes for firmware PR #3784. It adds a
message
protobuf which represents a message stored in storage or memory and removes theDeviceState
protobuf'srx_text_message
as it becomes obsolete.Checklist before merging